** Replication instructions for:
** Zhirnov, Andrei, Mert Moral, and Evgeny Sedashov. 2022. "Taking Distributions Seriously: On the Interpretation of the Estimates of Interactive Nonlinear Models". Political Analysis (Conditional Acceptance). 

This text file describes the required data and codes for replicating the analyses in the article and supplementary file.

** Software and additional packages
The presented analyses were performed using Stata 17.0 (Stata SE), with the exception of Figure 2, which was produced using R version 4.1.0, on a PC with 16GB RAM, Intel(R) Core(TM) i5-8365U CPU with 1.60GHz base speed, and Intel(R) UHD Graphics 620.
The computational platform was Windows 10.

The Stata do-files rely on the following user-written packages that need to be installed for replicating the analyses:
-- moremata (Jann, Ben. 2005. MOREMATA: Stata Module (Mata) to Provide Various Functions. Available from SSC)
-- grc1leg2 (Over, Mead. grc1leg2: Stata module to add a common legend to combined graphs. Available from http://digital.cgdev.org/doc/stata/MO/Misc)
-- estout (Jann, Ben. 2005. Making regression tables from stored estimates. The Stata Journal 5(3): 288-308. Available from SSC)

The R script that produces Figure 2, in addition to base R, uses "ggplot2" (Wickham, Hadley, Winston Chang, Lionel Henry, Thomas Lin Pedersen, Kohske Takahashi, Claus Wilke, Kara Woo, Hiroaki Yutani, and Dewey Dunnington. 2021. Ggplot2: Create Elegant Data Visualisations Using the Grammar of Graphics. https://CRAN.R-project.org/package=ggplot2.)

** Data files
The original names of the data files (in .dta format and as cited below) are used in the replication files for the article. 

1. The data file called "interaction3.dta" is available on Matt Golder's website (http://mattgolder.com/files/interactions/interaction3.zip). 
   Created by: Golder, Sona. 2006. The Logic of Pre-Electoral Coalition Formation. Columbus: Ohio State University Press.

2. The data file called "FoxNews_Master.dta" is available from Harvard Dataverse (https://dataverse.harvard.edu/dataset.xhtml?persistentId=doi:10.7910/DVN/27597) 
   Created by: Arceneaux, Kevin, Martin Johnson, Rene Lindstädt, and Ryan J. Vander Wielen. 2016. "The Influence of News Media on Political Elites: Investigating Strategic Responsiveness in Congress."American Journal of Political Science 60(1): 5–29.

3. The data file called "Robertson Teitelbaum 2011.dta" is available on Emmanuel Teitelbaum's website (https://home.gwu.edu/~ejt/pages/Data_files/Robertson%20Teitelbaum%202011.dta).
   Created by: Robertson, Graeme B., and Emmanuel Teitelbaum. 2011. "Foreign Direct Investment, Regime Type, and Labor Protest in Developing Countries." American Journal of Political Science 55(3): 665–677.
 
4. The data file called "scobit.dta" is available on Jacqueline H. R. DeMeritt's website (https://jdemeritt.weebly.com/uploads/2/2/7/7/22771764/bde.zip).
    This file is part of the replication files for: William D. Berry, Jacqueline H. R. DeMeritt, and Justin Esarey. "Testing for Interaction in Binary Logit and Probit Models: Is a Product Term Essential?" American Journal of Political Science 54 (1): 248–266.
    Created by: Nagler, Jonathan. 1991. "The Effect of Registration Laws and Education on U.S. Voter Turnout." American Political Science Review 85(4): 1393–1405. 
		
** To replicate all figures except Figure 2

Step 1: Obtain all the following data files that are publicly available from the authors' websites or data repositories:

	A. Obtain the data file called "interaction3.dta". 
		- This file is used to replicate the analyses in: Golder, Sona. 2006. The Logic of Pre-Electoral Coalition Formation. Columbus: Ohio State University Press.
		- This file is used for Figures 1, 3a, 3b, 7a

	B. Obtain the data file called "FoxNews_Master.dta".
		- This file is used to replicate the analyses in: Arceneaux, Kevin, Martin Johnson, Rene Lindstädt, and Ryan J. Vander Wielen. 2016. "The Influence of News Media on Political Elites: Investigating Strategic Responsiveness in Congress." American Journal of Political Science 60(1): 5–29.
		- This file is used for Figures 5, 7b in the article, and Figure C1 in the supplementary file.  

	C. Obtain the data file called "Robertson Teitelbaum 2011.dta".
		- This file is used to replicate the analyses in: Robertson, Graeme B., and Emmanuel Teitelbaum. 2011. "Foreign Direct Investment, Regime Type, and Labor Protest in Developing Countries." American Journal of Political Science 55(3): 665–677.
		- This file is used for Tables 1 and 2 and Figures 6 and 7c in the article, and Figure E1 in the supplementary file. 

	D. Obtain the data file called "scobit.dta".
		- This file is used to replicate the analyses in: Nagler, Jonathan. 1991. "The Effect of Registration Laws and Education on U.S. Voter Turnout." American Political Science Review 85(4): 1393–1405. 
		- This file is used for Figures 4a, 4b, 8 in the article. 

Step 2: Run the do file "Replication File_Figures_200122.do" (running time excluding package installation time = 253.25 sec, running time including package installation time = 226.15 sec)
	- This file produces Tables 1 and 2 and Figures 1, 3a, 3b, 4a, 4b, 5, 6, 7a, 7b, and 8 in the article, and Figures C1 and E1 in the supplementary file.

** To replicate Figure 2
	
Step 1: Run "Figure_2_200122.R" in R (running time = 0.56 sec)

** To replicate Tables 1 and 2
        
Step 1. Obtain the data file called "Robertson Teitelbaum 2011.dta".
	- This file is used for Tables 1 and 2 and Figures 6 and 7c in the article, and Figure E1 in the supplementary file. 

Step 2. Run "Replication File_Tables_200122.do" in Stata (running time excluding package installation time = 2.32 sec, running time including package installation timen = 26.85 sec)
	- The contents of Table 1 will be listed in the Stata log after running lines 5-42.
	- The contents of Table 2 will be listed in the Stata log after running lines 48-92.
	- The tables can be optionally exported into a LaTeX file using the calls to "texsave" in lines 43 and 93.